package model

// MiniAppVersion 版本模型 领域内
type MiniAppVersion struct {
	BaseModel
	AppID          string `gorm:"comment:应用ID;uniqueIndex:mini_app_id"`
	Platform       int32  `gorm:"comment:发布版本;uniqueIndex:mini_app_id"`
	ReleaseVersion string `gorm:"comment:发布版本"`
	AuditVersion   string `gorm:"comment:审核版本"`
	RejectReason   string `gorm:"comment:拒绝理由"`
	Status         string `gorm:"comment:状态"`
	Stage          string `gorm:"comment:阶段"`
}

// MiniAppVersionLog 发版本记录
type MiniAppVersionLog struct {
	BaseModel
	VersionID int64  `gorm:"comment:版本外键"`
	Version   string `gorm:"comment:发布版本"`
}
